package cn.danger.com.db;

import java.util.List;

import cn.danger.com.model.entity.Memo;

/**
 * Created by 俊 on 2016/12/30.
 */
public interface MemoDao {

    int insert(Memo memo);

    void delete(int id);

    void delete(String username);

    void update(Memo memo);

    Memo getMemo(int id);

    List<Memo> getMemos(String username);

}
